projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
927fdb9
)
composetable: Remove a redundant check
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 4 Feb 2021 05:22:52 +0000
(
00:22
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 4 Feb 2021 05:22:52 +0000
(
00:22
-0500)
We already know seq_index is not NULL here.
Pointed out in https://www.viva64.com/en/b/0793/
gtk/gtkcomposetable.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcomposetable.c
b/gtk/gtkcomposetable.c
index a07f5da06f0654794148ee22a0e25d62517737d2..c5261f8a631d445da34519a36dc0b7a92d6e2e61 100644
(file)
--- a/
gtk/gtkcomposetable.c
+++ b/
gtk/gtkcomposetable.c
@@
-1038,7
+1038,7
@@
gtk_compose_table_compact_check (const GtkComposeTableCompact *table,
if (!seq_index)
return FALSE;
- if (
seq_index &&
n_compose == 1)
+ if (n_compose == 1)
return TRUE;
seq = NULL;